Now that you've got some of the basics down, let's make your next animation more dynamic. What does dynamic mean? It means that actions are triggered by actions instead of just by a timeline. There are a few code blocks you need to learn about to make programming more dynamic and less hard-coded (fixed by values you typed into the code blocks, like seconds).

In the reference guide, look at the following code blocks from the Control Panel on page 17: broadcast, broadcast and wait, when I recieve, forever if, if, if else, wait until, and repeat until. Then look at the following code blocks from the Sensing Panel on page 17-18: touching, touching color, color is touching color, distance to, and xPosition of Sprite1.

Pay special attention to the SHAPE of the blocks as they tell you where you can use it. See page 10 for the types of blocks and where they can be used.

Watch this animation that demos the features of broadcasts and sensing:
Learn more about this project



Assignment:
Create an animation that meets the following criteria:
- must use multiple broadcasts
- must be at least one minute in length
- must have at least 4 scene changes (backgrounds, characters, etc.)
- must use a minimum of 4 sprites, more is totally acceptable
- must use 'sensing' to make the sprites interact
- must use a theme of some kind
- must include backgrounds that change and sound/sound effects/music
- have a point to your animation (ie. make it interesting for obvious reasons, story or something)

Start on the assignment by planning what you want to make, and organizing the script, the sprites and pictures. Then begin programming.